diff options
| author | real-zephex <[email protected]> | 2024-04-10 16:34:20 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-04-10 16:34:20 +0530 |
| commit | f445930364c6e71e1388dcc82728e425f02cd642 (patch) | |
| tree | f3cf810d787d00fbeffc6ce45d8a85b55af2abc4 /src/app/anime/[id]/buttons.jsx | |
| parent | removed edge funcitons (diff) | |
| download | dramalama-f445930364c6e71e1388dcc82728e425f02cd642.tar.xz dramalama-f445930364c6e71e1388dcc82728e425f02cd642.zip | |
UI changes
Diffstat (limited to 'src/app/anime/[id]/buttons.jsx')
| -rw-r--r-- | src/app/anime/[id]/buttons.jsx | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/src/app/anime/[id]/buttons.jsx b/src/app/anime/[id]/buttons.jsx index eac1884..3ce44e2 100644 --- a/src/app/anime/[id]/buttons.jsx +++ b/src/app/anime/[id]/buttons.jsx @@ -55,32 +55,30 @@ export default function Button({ data2: info }) { } }} > - <div className={styles.video}> - <MediaPlayer - title="dramaPlayer" - src={videoLink} - aspectRatio="16/9" - load="eager" - className={styles.VideoPlayer} - playsInline - id="videoPlayer" - volume={0.2} - onQualityChange={(event) => - console.log("changed qualities", event) - } - > - <MediaProvider /> - <PlyrLayout icons={plyrLayoutIcons} /> - </MediaPlayer> - <button - className={styles.closeButton} - onClick={() => { - setVideoLink(""); - }} - > - Close - </button> - </div> + <MediaPlayer + title="dramaPlayer" + src={videoLink} + aspectRatio="16/9" + load="eager" + className={styles.VideoPlayer} + playsInline + id="videoPlayer" + volume={0.2} + onQualityChange={(event) => + console.log("changed qualities", event) + } + > + <MediaProvider /> + <PlyrLayout icons={plyrLayoutIcons} /> + </MediaPlayer> + <button + className={styles.closeButton} + onClick={() => { + setVideoLink(""); + }} + > + Close + </button> </div> )} </main> |